xentop: fix abnormal value cpu(%) when domain shutdown.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 7 Aug 2007 08:06:38 +0000 (09:06 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 7 Aug 2007 08:06:38 +0000 (09:06 +0100)
commitd1b295913fee1b6c7aaaf7ac8a26b085e0c854f0
treea4040b61c76690163370bc14d81dc8b5343486ca
parent7b448e13e0f816fab36a5a9f46a12fce3d585de8
xentop: fix abnormal value cpu(%) when domain shutdown.

If we test multiple domain create/shutdown many times.
sometimes abnormal values of cpu(%) are appeared.
This is because shutdown domain remove failure.
(in other words, memory corruption of struct )
This corruption makes abnormal cpu(%) values are shown xentop
sometimes.

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
tools/xenstat/libxenstat/src/xenstat.c